package com.cmc.cloud.cmclink.doc.api.document.rep;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 订舱相关方信息Response VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱相关方信息 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SoScnRespDto extends SoScnBaseDto {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17362")
    private Long id;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "数据对比结果")
    Boolean compareResult;

    public Boolean getCompareResult() {
        if (compareResult == null) {
            return false;
        }
        return compareResult;
    }

}
